What is wrong with this code? [closed]
Posted
by rajesh
on Stack Overflow
See other posts from Stack Overflow
or by rajesh
Published on 2010-05-20T05:38:57Z
Indexed on
2010/05/24
6:31 UTC
Read the original article
Hit count: 225
JavaScript
|AJAX
function checkLength(obj,url){
//alert("URL="+url+" OBJ="+obj);
if(obj) {
var params = 'query='+obj;
var myAjax = new Ajax.Request(url, {
method: 'post', parameters: params, onComplete: loadResponse
});
}
}
The code isn't working, but I don't know why. I think I need to include other files, but I don't know which
© Stack Overflow or respective owner